package org.gwt.mosaic.samples.addressbook.client.ui;

import org.gwt.mosaic.application.client.util.ApplicationFramework;
import org.gwt.mosaic.ui.client.LayoutComposite;
import org.gwt.mosaic.ui.client.ToolBar;

public class ToolBox extends LayoutComposite {
	
	private ToolBar toolBar = new ToolBar();

	public ToolBox() {
		getLayoutPanel().add(toolBar);
		
		toolBar.add(ApplicationFramework.newToolButton("addContactCmd"));
		toolBar.add(ApplicationFramework.newToolButton("searchCmd"));
		toolBar.add(ApplicationFramework.newToolButton("shareCmd"));
		toolBar.add(ApplicationFramework.newToolButton("helpCmd"));
		
		addStyleName("ToolBox");
	}
}
